package com.financial.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.financial.dao.IntegralGradeMapper;
import com.financial.pojo.IntegralGrade;
import com.financial.service.IntegralGradeService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;
import tk.mybatis.mapper.entity.Example;
import java.util.List;
@Service
public class IntegralGradeServiceImpl extends ServiceImpl<IntegralGradeMapper,IntegralGrade> implements IntegralGradeService {


    @Override
    public List<IntegralGrade> list() {
        return baseMapper.selectList(null);
    }

    @Override
    public boolean removeById(Long id) {
        return baseMapper.deleteById(id)>0;
    }
}
